<?php
namespace app\admin\model;
use think\Model;
use think\Db;
class Infos_types extends Model {
	public $db;
	function __construct(){
		parent::__construct();
		$this->db=Db::name("Infos_types");
	}
    // 模型中的查询方法
    public function select_m($tj=""){
    	$obj=Db::name("users");

    	return $this->db->where($tj)->order("paixu asc")->select();
    }
}